import ajax from '@/api/apiConfig.js'

/* 获取二维标注列表 */
export const getMarkListByType = (data) => {
  return ajax.get('MarkInfo2d/getMarkListByType', data)
}

/* 删除二维标注 */
export const delMarkInfo = (data) => {
  return ajax.post('MarkInfo2d/delMarkInfo', data)
}

/* 新增、更新标注信息 */
export const saveOrInsertMarkInfo = (data) => {
  return ajax.post('MarkInfo2d/saveOrInsertMarkInfo', data)
}
/* 获取标注关联对象列表 */
export const getRelationInfo = (data) => {
  return ajax.get('MarkInfo2d/getRelationInfo', data)
}
